package com.elvin.wx.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.elvin.wx.beans.Role;
import com.elvin.wx.beans.UserRole;
import com.elvin.wx.mapper.UserRoleMapper;
import com.elvin.wx.service.UserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService {
	@Resource
	private UserRoleMapper mapper;

	@Override
	public List<Role> selectRoleList(Integer id) {
		return mapper.selectRoleList(id);
	}
}
